import request from '@/utils/request'

// 查询卡券订单列表
export function listOrder(query) {
  return request({
    url: '/system/vipOrder/list',
    method: 'get',
    params: query
  })
}

// 查询卡券订单详细
export function getOrder(orderId) {
  return request({
    url: '/system/vipOrder/' + orderId,
    method: 'get'
  })
}

